﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL.Interfaces
{
    public interface IRepository<TEntity> : IDisposable where TEntity : IEntity
    {
        TEntity Find(object[] keys);
        List<TEntity> GetAll();
        IQueryable<TEntity> GetAllValidados();
        void Remove(TEntity entity);
        void Add(TEntity entity);
        void Edit(TEntity entity);
    } 
}
